package chapter67;

public class Loan {
	public double loan;
	public double rate;
	public int yearChoice;
	
	public double loan(double loan,int yearChoice){
		return loan*(1+rate)/(yearChoice*12);
	}
}
